<?php

class RelatorioDespesa_ConsultaController extends Zend_Controller_ActionAquiles {

    public function init() {
        parent::init();
			$this->view->title = 'Relatório de Despesa.';
}

    public function indexAction(){
		$this->view->form = new Application_Form_RelatorioDespesa_Busca();

	}

    public function listaAction(){
        
        $variaveis = $this->getRequest()->getParams();

		$model = Application_Model_RelatorioDespesa::getInstance();

		$result = $model->Lista($variaveis);

        $this->_helper->layout->disableLayout();
        $this->view->assign('result', $result);

    }



}

?>
